import request from '@/utils/request'

// 查询微博小号详情列表
export function listWeiboTrumpetDetail(query) {
  return request({
    url: '/kiku/weiboTrumpetDetail/list',
    method: 'get',
    params: query
  })
}

// 查询微博小号详情详细
export function getWeiboTrumpetDetail(id) {
  return request({
    url: '/kiku/weiboTrumpetDetail/' + id,
    method: 'get'
  })
}

// 新增微博小号详情
export function addWeiboTrumpetDetail(data) {
  return request({
    url: '/kiku/weiboTrumpetDetail',
    method: 'post',
    data: data
  })
}

// 修改微博小号详情
export function updateWeiboTrumpetDetail(data) {
  return request({
    url: '/kiku/weiboTrumpetDetail',
    method: 'put',
    data: data
  })
}

// 删除微博小号详情
export function delWeiboTrumpetDetail(id) {
  return request({
    url: '/kiku/weiboTrumpetDetail/' + id,
    method: 'delete'
  })
}
